
#ifndef UI_DLGOPTIONSDRAWING_H
#define UI_DLGOPTIONSDRAWING_H

#include "ui_ui_dlgoptionsdrawing.h"
#include "..\gui_export.h"

class GUI_EXPORT UI_DlgOptionsDrawing : public QDialog, public Ui::UI_DlgOptionsDrawing
{
    Q_OBJECT

public:
    UI_DlgOptionsDrawing(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
    ~UI_DlgOptionsDrawing();

public slots:
    virtual void setGraphic( PF_Graphic * g );
    virtual void validate();
    virtual void updateLengthPrecision();
    virtual void updateAnglePrecision();
    virtual void updatePreview();
    virtual void updatePaperSize();
    virtual void updateUnitLabels();

protected slots:
    virtual void languageChange();

private:
    QStringList listPrec1;
    PF_Graphic* graphic;

    void init();

};

#endif // QG_DLGOPTIONSDRAWING_H
